<?php

class Model
{

       //指定key分组
      //OutboundDetailModel::query()->where('outbound_order_code',$orderCode)->get($field)->keyBy('sku')->toArray();


//    $skuPackQtyMap = OutboundBoxDetailModel::query()->selectRaw($selectRaw)
//    ->where('outbound_order_code',$orderCode)
//    ->groupBy('sku')
//    ->pluck('packing_quantity','sku')->toArray();//已装箱数量
//
//
//    Array
//    (
//    [72301481] => 3
//    [38484135] => 30
//    [72997879] => 20
//    [81650973] => 40
//    [86866301] => 20
//    )




}